package com.mg.admin.pageInterceptor;

public abstract class Dialect {
	
	public boolean supportsLimit(){
    	return false;
    }

    public boolean supportsLimitOffset() {
    	return supportsLimit();
    }
	
    /**
     * 将sql变成分页sql语句,直接使用offset,limit的值作为占位符.</br>
     */
    public abstract String getLimitString(String sql, int offset, int limit);
    
}
